package com.andy.base.mapper;

import com.andy.base.servlet.Servlet;

public class Wrapper implements Mapper {

    public Servlet getServlet() {
        return servlet;
    }

    public void setServlet(Servlet servlet) {
        this.servlet = servlet;
    }

    private Servlet servlet;

    public Wrapper(Servlet servlet) {
        this.servlet = servlet;
    }

    /**
     * map到需要的对象,然后放入mappingData
     *
     * @param key
     * @param mappingData
     * @return
     * @throws Exception
     */
    @Override
    public Mapper map(String key, MappingData mappingData) throws Exception {
        return null;
    }

    /**
     * 是否需要继续map
     *
     * @return
     */
    @Override
    public boolean needMapping() {
        return false;
    }
}
